	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_line_get_config                ## -- Begin function line_get_config
	.p2align	4, 0x90
_line_get_config:                       ## @line_get_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r15
	leaq	-64(%rbp), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_simple_strtoul
	movq	-64(%rbp), %rcx
	cmpq	%r15, %rcx
	je	LBB0_2
## %bb.1:
	cmpb	$0, (%rcx)
	jne	LBB0_2
## %bb.3:
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	cmpl	%r14d, %eax
	jae	LBB0_5
## %bb.6:
	movl	%eax, %ebx
	shlq	$5, %rbx
	leaq	(%rbx,%r13), %r14
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_spin_lock
	cmpl	$0, 24(%r13,%rbx)
	je	LBB0_7
## %bb.9:
	cmpq	$0, 16(%r13,%rbx)
	je	LBB0_10
## %bb.11:
	leaq	(%rbx,%r13), %rdi
	addq	$12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	callq	_chan_config_string
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_2:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r12)
	jmp	LBB0_13
LBB0_5:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r12)
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_7:
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_8
LBB0_10:
	movq	(%r13,%rbx), %rcx
LBB0_8:
	xorl	%ebx, %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	movl	$1, %r8d
	callq	_CONFIG_CHUNK
LBB0_12:
	movq	%r14, %rdi
	callq	_spin_unlock
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"line_get_config failed to parse device number"

L_.str.1:                               ## @.str.1
	.asciz	"device number out of range"

L_.str.2:                               ## @.str.2
	.asciz	"none"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_line_get_config                ; -- Begin function line_get_config
	.p2align	2
_line_get_config:                       ; @line_get_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x5
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x24, x0
	add	x1, sp, #8
	mov	w2, #0
	bl	_simple_strtoul
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	x8, x24
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_2
; %bb.1:
	mov	w19, #0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x22]
	b	LBB0_12
LBB0_2:
	tbnz	w0, #31, LBB0_7
; %bb.3:
	cmp	w0, w21
	b.hs	LBB0_7
; %bb.4:
	mov	w24, w0
	add	x25, x23, x24, lsl #5
	add	x21, x25, #8
	mov	x0, x21
	bl	_spin_lock
	ldr	w8, [x25, #24]
	cbz	w8, LBB0_8
; %bb.5:
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_9
; %bb.6:
	add	x8, x23, x24, lsl #5
	add	x0, x8, #12
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	bl	_chan_config_string
	mov	x19, x0
	b	LBB0_11
LBB0_7:
	mov	w19, #0
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x22]
	b	LBB0_12
LBB0_8:
Lloh4:
	adrp	x3, l_.str.2@PAGE
Lloh5:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_9:
	lsl	x8, x24, #5
	ldr	x3, [x23, x8]
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	w4, #1
	bl	_CONFIG_CHUNK
	mov	w19, #0
LBB0_11:
	mov	x0, x21
	bl	_spin_unlock
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"line_get_config failed to parse device number"

l_.str.1:                               ; @.str.1
	.asciz	"device number out of range"

l_.str.2:                               ; @.str.2
	.asciz	"none"

.subsections_via_symbols
