	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_config_get_line
_wpa_config_get_line:                   ## @wpa_config_get_line
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movslq	%r13d, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movabsq	$4294977024, %r15               ## imm = 0x100002600
	movabsq	$4294976000, %r12               ## imm = 0x100002200
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movabsq	$34359739393, %rcx              ## imm = 0x800000401
	btq	%rax, %rcx
	jae	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movb	$0, -1(%r14,%rax)
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_newline_terminated
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skip_line_end
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	cmpq	$35, %rax
	ja	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	btq	%rax, %r12
	jae	LBB0_7
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=2
	incq	%rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	$34, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	movq	%rax, %rdi
	movl	$34, %esi
	callq	_os_strrchr
	movq	%rax, %rdi
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdi, %rdi
	cmoveq	%rbx, %rdi
	movl	$35, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	$0, (%rax)
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_os_strlen
	cltq
	addq	%rbx, %rax
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	decq	%rax
	cmpq	%rbx, %rax
	jbe	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	movzbl	(%rax), %ecx
	cmpq	$32, %rcx
	ja	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=2
	btq	%rcx, %r15
	jae	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=2
	movb	$0, (%rax)
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_8
	jmp	LBB0_21
LBB0_9:
	xorl	%ebx, %ebx
LBB0_21:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	%rbx, (%rax)
LBB0_23:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Long line in configuration file truncated"

	.no_dead_strip	_wpa_config_get_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_config_get_line
_wpa_config_get_line:                   ; @wpa_config_get_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x4, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_fgets
	cbz	x0, LBB0_19
; %bb.1:
	sxtw	x8, w22
	sub	x26, x8, #1
	mov	w28, #1
	mov	x19, #9728
	movk	x19, #1, lsl #32
	mov	x27, #8704
	movk	x27, #1, lsl #32
	mov	x24, #1025
	movk	x24, #8, lsl #32
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	x8, x28, x8
	tst	x8, x24
	b.eq	LBB0_10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_fgets
	cbz	x0, LBB0_19
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	strb	wzr, [x23, x26]
	mov	x0, x23
	mov	x1, x22
	bl	_newline_terminated
	cbnz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh0:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x21
	bl	_skip_line_end
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x23
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x25]
	cmp	w8, #35
	b.hi	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	lsl	x9, x28, x8
	tst	x9, x27
	b.eq	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x25, x25, #1
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	mov	w1, #34
	bl	_os_strchr
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x0, #1
	mov	w1, #34
	bl	_os_strrchr
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x0, #0
	csel	x0, x25, x0, eq
	mov	w1, #35
	bl	_os_strchr
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x0]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	bl	_os_strlen
	add	x0, x25, w0, sxtw
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x0, #1
	cmp	x8, x25
	b.ls	LBB0_18
LBB0_16:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x8]
	cmp	w9, #32
	lsl	x9, x28, x9
	and	x9, x9, x19
	ccmp	x9, #0, #4, ls
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	strb	wzr, [x8], #-1
	cmp	x8, x25
	b.hi	LBB0_16
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x25]
	cbz	w8, LBB0_3
	b	LBB0_20
LBB0_19:
	mov	x25, #0
LBB0_20:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_22
; %bb.21:
	str	x25, [x8]
LBB0_22:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Long line in configuration file truncated"

	.no_dead_strip	_wpa_config_get_line
.subsections_via_symbols
