	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_ctrl_iface_log_level
_hostapd_ctrl_iface_log_level:          ## @hostapd_ctrl_iface_log_level
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movb	(%rsi), %al
	testb	%al, %al
	je	LBB0_3
## %bb.1:
	cmpb	$32, %al
	jne	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rsi), %r15
	cmpb	$32, 1(%rsi)
	movq	%r15, %rsi
	je	LBB0_4
	jmp	LBB0_5
LBB0_3:
	movq	%rcx, %rbx
	movq	_wpa_debug_level@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_debug_level_str
	movq	_wpa_debug_timestamp@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	callq	_os_snprintf
	movl	%eax, %r14d
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	xorl	%ebx, %ebx
	testq	%rax, %rax
	cmovel	%r14d, %ebx
	jmp	LBB0_17
LBB0_2:
	movq	%rsi, %r15
LBB0_5:
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movb	$0, (%rax)
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rax), %rbx
	cmpb	$32, 1(%rax)
	movq	%rbx, %rax
	je	LBB0_8
	jmp	LBB0_9
LBB0_6:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%r15, %rdi
	callq	_os_strlen
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%r15, %rdi
	callq	_str_to_debug_level
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movq	_wpa_debug_level@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_13:
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.14:
	movq	%rbx, %rdi
	callq	_os_strlen
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	callq	_atoi
	movq	_wpa_debug_timestamp@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_16:
	leaq	L_.str.1(%rip), %rsi
	movl	$3, %ebx
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_os_memcpy
	jmp	LBB0_17
LBB0_11:
	movl	$-1, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Current level: %s\nTimestamp: %d\n"

	.comm	_wpa_debug_level,4,2            ## @wpa_debug_level
	.comm	_wpa_debug_timestamp,4,2        ## @wpa_debug_timestamp
L_.str.1:                               ## @.str.1
	.asciz	"OK\n"

	.no_dead_strip	_hostapd_ctrl_iface_log_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_ctrl_iface_log_level
_hostapd_ctrl_iface_log_level:          ; @hostapd_ctrl_iface_log_level
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	ldrb	w8, [x1]
	cbz	w8, LBB0_13
; %bb.1:
	mov	x20, x1
	cmp	w8, #32
	b.ne	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20, #1]!
	cmp	w8, #32
	b.eq	LBB0_2
LBB0_3:
	mov	x0, x20
	mov	w1, #32
	bl	_os_strchr
	mov	x21, x0
	cbz	x0, LBB0_6
; %bb.4:
	strb	wzr, [x21]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21, #1]!
	cmp	w8, #32
	b.eq	LBB0_5
LBB0_6:
	mov	x0, x20
	bl	_os_strlen
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_str_to_debug_level
	tbnz	w0, #31, LBB0_14
; %bb.8:
Lloh0:
	adrp	x8, _wpa_debug_level@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wpa_debug_level@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
LBB0_9:
	cbz	x21, LBB0_12
; %bb.10:
	mov	x0, x21
	bl	_os_strlen
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x21
	bl	_atoi
Lloh3:
	adrp	x8, _wpa_debug_timestamp@GOTPAGE
Lloh4:
	ldr	x8, [x8, _wpa_debug_timestamp@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
LBB0_12:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w20, #3
	mov	x0, x19
	mov	w2, #3
	bl	_os_memcpy
	b	LBB0_15
LBB0_13:
	mov	x21, x3
Lloh8:
	adrp	x8, _wpa_debug_level@GOTPAGE
Lloh9:
	ldr	x8, [x8, _wpa_debug_level@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_debug_level_str
	mov	x3, x0
Lloh11:
	adrp	x8, _wpa_debug_timestamp@GOTPAGE
Lloh12:
	ldr	x8, [x8, _wpa_debug_timestamp@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_os_snprintf
	mov	x19, x0
	mov	x0, x21
	mov	x1, x19
	bl	_os_snprintf_error
	cmp	x0, #0
	csel	w20, w19, wzr, eq
	b	LBB0_15
LBB0_14:
	mov	w20, #-1
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Current level: %s\nTimestamp: %d\n"

	.comm	_wpa_debug_level,4,2            ; @wpa_debug_level
	.comm	_wpa_debug_timestamp,4,2        ; @wpa_debug_timestamp
l_.str.1:                               ; @.str.1
	.asciz	"OK\n"

	.no_dead_strip	_hostapd_ctrl_iface_log_level
.subsections_via_symbols
