	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_setter_country       ## -- Begin function wpas_dbus_setter_country
	.p2align	4, 0x90
_wpas_dbus_setter_country:              ## @wpas_dbus_setter_country
	.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	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %rdi
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rsi
	callq	_wpas_dbus_simple_property_setter
	movq	_FALSE@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	-32(%rbp), %rsi
	movb	(%rsi), %al
	testb	%al, %al
	je	LBB0_3
## %bb.2:
	cmpb	$0, 1(%rsi)
	je	LBB0_3
## %bb.5:
	cmpq	$0, 8(%r14)
	je	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	_wpa_drv_set_country
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	_DBUS_ERROR_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_4
LBB0_3:
	movq	_DBUS_ERROR_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_4:
	movq	%rbx, %rdi
	callq	_dbus_set_error_const
	jmp	LBB0_9
LBB0_7:
	movq	-32(%rbp), %rax
	movb	(%rax), %al
LBB0_8:
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movb	%al, (%rcx)
	movq	-32(%rbp), %rax
	movb	1(%rax), %al
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movb	%al, 1(%rcx)
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_9:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBUS_TYPE_STRING,4,2           ## @DBUS_TYPE_STRING
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DBUS_ERROR_FAILED,4,2          ## @DBUS_ERROR_FAILED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid country code"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"Failed to set country"

L_.str.2:                               ## @.str.2
	.asciz	"failed to set country code"

	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_setter_country       ; -- Begin function wpas_dbus_setter_country
	.p2align	2
_wpas_dbus_setter_country:              ; @wpas_dbus_setter_country
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x3
	mov	x19, x2
	mov	x0, x1
Lloh0:
	adrp	x8, _DBUS_TYPE_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBUS_TYPE_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x1, x19
	bl	_wpas_dbus_simple_property_setter
	cbz	w0, LBB0_8
; %bb.1:
	ldr	x1, [sp, #8]
	ldrb	w8, [x1]
	cbz	w8, LBB0_6
; %bb.2:
	ldrb	w9, [x1, #1]
	cbz	w9, LBB0_6
; %bb.3:
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_11
; %bb.4:
	mov	x0, x20
	bl	_wpa_drv_set_country
	cbz	x0, LBB0_10
; %bb.5:
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh8:
	adrp	x8, _DBUS_ERROR_FAILED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DBUS_ERROR_FAILED@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _DBUS_ERROR_FAILED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DBUS_ERROR_FAILED@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_dbus_set_error_const
LBB0_8:
Lloh18:
	adrp	x8, _FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_10:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
LBB0_11:
	ldr	x9, [x20]
	ldr	x9, [x9]
	strb	w8, [x9]
	ldr	x8, [sp, #8]
	ldrb	w8, [x8, #1]
	ldr	x9, [x20]
	ldr	x9, [x9]
	strb	w8, [x9, #1]
Lloh20:
	adrp	x8, _TRUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_DBUS_TYPE_STRING,4,2           ; @DBUS_TYPE_STRING
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DBUS_ERROR_FAILED,4,2          ; @DBUS_ERROR_FAILED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid country code"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"Failed to set country"

l_.str.2:                               ; @.str.2
	.asciz	"failed to set country code"

	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
