	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asus_rfkill_init
_asus_rfkill_init:                      ## @asus_rfkill_init
	.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
	cmpq	$0, 40(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_17
LBB0_2:
	movq	%rdi, %r14
	movl	20(%rdi), %edi
	movq	_METHOD_GPS_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_acpi_check_handle
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movl	20(%r14), %edi
	movq	_METHOD_GPS_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_acpi_check_handle
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movl	20(%r14), %edi
	movq	_METHOD_GPS_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_acpi_check_handle
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	leaq	36(%r14), %rsi
	movq	_RFKILL_TYPE_GPS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	movq	_asus_gps_rfkill_ops@GOTPCREL(%rip), %r9
	movq	%r14, %rdi
	movl	$-1, %ecx
	callq	_asus_rfkill_setup
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_16
LBB0_6:
	movl	20(%r14), %edi
	movq	_METHOD_WLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_acpi_check_handle
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movq	(%r14), %rax
	movq	_TYPE_RFKILL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	leaq	32(%r14), %rsi
	movq	_WL_RSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_RFKILL_TYPE_WLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rdx
	movq	_asus_rfkill_ops@GOTPCREL(%rip), %r9
	movq	%r14, %rdi
	callq	_asus_rfkill_setup
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_16
LBB0_9:
	movl	20(%r14), %edi
	movq	_METHOD_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_acpi_check_handle
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:
	movq	8(%r14), %rax
	movq	_TYPE_RFKILL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	leaq	28(%r14), %rsi
	movq	_BT_RSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_RFKILL_TYPE_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.2(%rip), %rdx
	movq	_asus_rfkill_ops@GOTPCREL(%rip), %r9
	movq	%r14, %rdi
	callq	_asus_rfkill_setup
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_16
LBB0_12:
	movl	20(%r14), %edi
	movq	_METHOD_WWAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_acpi_check_handle
	testl	%eax, %eax
	je	LBB0_13
LBB0_14:
	movl	20(%r14), %edi
	movq	_METHOD_WIMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_acpi_check_handle
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	leaq	16(%r14), %rsi
	movq	_WM_RSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_RFKILL_TYPE_WIMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.4(%rip), %rdx
	movq	_asus_rfkill_ops@GOTPCREL(%rip), %r9
	movq	%r14, %rdi
	callq	_asus_rfkill_setup
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_16
	jmp	LBB0_17
LBB0_13:
	leaq	24(%r14), %rsi
	movq	_WW_RSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_RFKILL_TYPE_WWAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.3(%rip), %rdx
	movq	_asus_rfkill_ops@GOTPCREL(%rip), %r9
	movq	%r14, %rdi
	callq	_asus_rfkill_setup
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_14
LBB0_16:
	movq	%r14, %rdi
	callq	_asus_rfkill_exit
	movl	%r15d, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_METHOD_GPS_ON,4,2              ## @METHOD_GPS_ON
	.comm	_METHOD_GPS_OFF,4,2             ## @METHOD_GPS_OFF
	.comm	_METHOD_GPS_STATUS,4,2          ## @METHOD_GPS_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"asus-gps"

	.comm	_RFKILL_TYPE_GPS,4,2            ## @RFKILL_TYPE_GPS
	.comm	_asus_gps_rfkill_ops,4,2        ## @asus_gps_rfkill_ops
	.comm	_METHOD_WLAN,4,2                ## @METHOD_WLAN
	.comm	_TYPE_RFKILL,8,3                ## @TYPE_RFKILL
L_.str.1:                               ## @.str.1
	.asciz	"asus-wlan"

	.comm	_WL_RSTS,4,2                    ## @WL_RSTS
	.comm	_RFKILL_TYPE_WLAN,4,2           ## @RFKILL_TYPE_WLAN
	.comm	_asus_rfkill_ops,4,2            ## @asus_rfkill_ops
	.comm	_METHOD_BLUETOOTH,4,2           ## @METHOD_BLUETOOTH
L_.str.2:                               ## @.str.2
	.asciz	"asus-bluetooth"

	.comm	_BT_RSTS,4,2                    ## @BT_RSTS
	.comm	_RFKILL_TYPE_BLUETOOTH,4,2      ## @RFKILL_TYPE_BLUETOOTH
	.comm	_METHOD_WWAN,4,2                ## @METHOD_WWAN
L_.str.3:                               ## @.str.3
	.asciz	"asus-wwan"

	.comm	_WW_RSTS,4,2                    ## @WW_RSTS
	.comm	_RFKILL_TYPE_WWAN,4,2           ## @RFKILL_TYPE_WWAN
	.comm	_METHOD_WIMAX,4,2               ## @METHOD_WIMAX
L_.str.4:                               ## @.str.4
	.asciz	"asus-wimax"

	.comm	_WM_RSTS,4,2                    ## @WM_RSTS
	.comm	_RFKILL_TYPE_WIMAX,4,2          ## @RFKILL_TYPE_WIMAX
	.no_dead_strip	_asus_rfkill_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asus_rfkill_init
_asus_rfkill_init:                      ; @asus_rfkill_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_18
LBB0_2:
	mov	x19, x0
	ldr	w0, [x0, #20]
Lloh3:
	adrp	x8, _METHOD_GPS_ON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _METHOD_GPS_ON@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_acpi_check_handle
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	w0, [x19, #20]
Lloh6:
	adrp	x8, _METHOD_GPS_OFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _METHOD_GPS_OFF@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_acpi_check_handle
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	w0, [x19, #20]
Lloh9:
	adrp	x8, _METHOD_GPS_STATUS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _METHOD_GPS_STATUS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_acpi_check_handle
	cbnz	w0, LBB0_6
; %bb.5:
	add	x1, x19, #36
Lloh12:
	adrp	x8, _RFKILL_TYPE_GPS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RFKILL_TYPE_GPS@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
Lloh17:
	adrp	x5, _asus_gps_rfkill_ops@GOTPAGE
Lloh18:
	ldr	x5, [x5, _asus_gps_rfkill_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #-1
	bl	_asus_rfkill_setup
	mov	x20, x0
	cbnz	w0, LBB0_17
LBB0_6:
	ldr	w0, [x19, #20]
Lloh19:
	adrp	x8, _METHOD_WLAN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _METHOD_WLAN@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_acpi_check_handle
	cbnz	w0, LBB0_9
; %bb.7:
	ldr	x8, [x19]
Lloh22:
	adrp	x9, _TYPE_RFKILL@GOTPAGE
Lloh23:
	ldr	x9, [x9, _TYPE_RFKILL@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	add	x1, x19, #32
Lloh25:
	adrp	x8, _WL_RSTS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _WL_RSTS@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
Lloh28:
	adrp	x8, _RFKILL_TYPE_WLAN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RFKILL_TYPE_WLAN@GOTPAGEOFF]
Lloh30:
	ldr	w4, [x8]
Lloh31:
	adrp	x2, l_.str.1@PAGE
Lloh32:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh33:
	adrp	x5, _asus_rfkill_ops@GOTPAGE
Lloh34:
	ldr	x5, [x5, _asus_rfkill_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_asus_rfkill_setup
	mov	x20, x0
	cbnz	w0, LBB0_17
LBB0_9:
	ldr	w0, [x19, #20]
Lloh35:
	adrp	x8, _METHOD_BLUETOOTH@GOTPAGE
Lloh36:
	ldr	x8, [x8, _METHOD_BLUETOOTH@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_acpi_check_handle
	cbnz	w0, LBB0_12
; %bb.10:
	ldr	x8, [x19, #8]
Lloh38:
	adrp	x9, _TYPE_RFKILL@GOTPAGE
Lloh39:
	ldr	x9, [x9, _TYPE_RFKILL@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	add	x1, x19, #28
Lloh41:
	adrp	x8, _BT_RSTS@GOTPAGE
Lloh42:
	ldr	x8, [x8, _BT_RSTS@GOTPAGEOFF]
Lloh43:
	ldr	w3, [x8]
Lloh44:
	adrp	x8, _RFKILL_TYPE_BLUETOOTH@GOTPAGE
Lloh45:
	ldr	x8, [x8, _RFKILL_TYPE_BLUETOOTH@GOTPAGEOFF]
Lloh46:
	ldr	w4, [x8]
Lloh47:
	adrp	x2, l_.str.2@PAGE
Lloh48:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh49:
	adrp	x5, _asus_rfkill_ops@GOTPAGE
Lloh50:
	ldr	x5, [x5, _asus_rfkill_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_asus_rfkill_setup
	mov	x20, x0
	cbnz	w0, LBB0_17
LBB0_12:
	ldr	w0, [x19, #20]
Lloh51:
	adrp	x8, _METHOD_WWAN@GOTPAGE
Lloh52:
	ldr	x8, [x8, _METHOD_WWAN@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_acpi_check_handle
	cbz	w0, LBB0_15
LBB0_13:
	ldr	w0, [x19, #20]
Lloh54:
	adrp	x8, _METHOD_WIMAX@GOTPAGE
Lloh55:
	ldr	x8, [x8, _METHOD_WIMAX@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_acpi_check_handle
	cbz	w0, LBB0_16
; %bb.14:
	mov	w20, #0
	b	LBB0_18
LBB0_15:
	add	x1, x19, #24
Lloh57:
	adrp	x8, _WW_RSTS@GOTPAGE
Lloh58:
	ldr	x8, [x8, _WW_RSTS@GOTPAGEOFF]
Lloh59:
	ldr	w3, [x8]
Lloh60:
	adrp	x8, _RFKILL_TYPE_WWAN@GOTPAGE
Lloh61:
	ldr	x8, [x8, _RFKILL_TYPE_WWAN@GOTPAGEOFF]
Lloh62:
	ldr	w4, [x8]
Lloh63:
	adrp	x2, l_.str.3@PAGE
Lloh64:
	add	x2, x2, l_.str.3@PAGEOFF
Lloh65:
	adrp	x5, _asus_rfkill_ops@GOTPAGE
Lloh66:
	ldr	x5, [x5, _asus_rfkill_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_asus_rfkill_setup
	mov	x20, x0
	cbnz	w0, LBB0_17
	b	LBB0_13
LBB0_16:
	add	x1, x19, #16
Lloh67:
	adrp	x8, _WM_RSTS@GOTPAGE
Lloh68:
	ldr	x8, [x8, _WM_RSTS@GOTPAGEOFF]
Lloh69:
	ldr	w3, [x8]
Lloh70:
	adrp	x8, _RFKILL_TYPE_WIMAX@GOTPAGE
Lloh71:
	ldr	x8, [x8, _RFKILL_TYPE_WIMAX@GOTPAGEOFF]
Lloh72:
	ldr	w4, [x8]
Lloh73:
	adrp	x2, l_.str.4@PAGE
Lloh74:
	add	x2, x2, l_.str.4@PAGEOFF
Lloh75:
	adrp	x5, _asus_rfkill_ops@GOTPAGE
Lloh76:
	ldr	x5, [x5, _asus_rfkill_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_asus_rfkill_setup
	mov	x20, x0
	cbz	w0, LBB0_18
LBB0_17:
	mov	x0, x19
	bl	_asus_rfkill_exit
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_METHOD_GPS_ON,4,2              ; @METHOD_GPS_ON
	.comm	_METHOD_GPS_OFF,4,2             ; @METHOD_GPS_OFF
	.comm	_METHOD_GPS_STATUS,4,2          ; @METHOD_GPS_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"asus-gps"

	.comm	_RFKILL_TYPE_GPS,4,2            ; @RFKILL_TYPE_GPS
	.comm	_asus_gps_rfkill_ops,4,2        ; @asus_gps_rfkill_ops
	.comm	_METHOD_WLAN,4,2                ; @METHOD_WLAN
	.comm	_TYPE_RFKILL,8,3                ; @TYPE_RFKILL
l_.str.1:                               ; @.str.1
	.asciz	"asus-wlan"

	.comm	_WL_RSTS,4,2                    ; @WL_RSTS
	.comm	_RFKILL_TYPE_WLAN,4,2           ; @RFKILL_TYPE_WLAN
	.comm	_asus_rfkill_ops,4,2            ; @asus_rfkill_ops
	.comm	_METHOD_BLUETOOTH,4,2           ; @METHOD_BLUETOOTH
l_.str.2:                               ; @.str.2
	.asciz	"asus-bluetooth"

	.comm	_BT_RSTS,4,2                    ; @BT_RSTS
	.comm	_RFKILL_TYPE_BLUETOOTH,4,2      ; @RFKILL_TYPE_BLUETOOTH
	.comm	_METHOD_WWAN,4,2                ; @METHOD_WWAN
l_.str.3:                               ; @.str.3
	.asciz	"asus-wwan"

	.comm	_WW_RSTS,4,2                    ; @WW_RSTS
	.comm	_RFKILL_TYPE_WWAN,4,2           ; @RFKILL_TYPE_WWAN
	.comm	_METHOD_WIMAX,4,2               ; @METHOD_WIMAX
l_.str.4:                               ; @.str.4
	.asciz	"asus-wimax"

	.comm	_WM_RSTS,4,2                    ; @WM_RSTS
	.comm	_RFKILL_TYPE_WIMAX,4,2          ; @RFKILL_TYPE_WIMAX
	.no_dead_strip	_asus_rfkill_init
.subsections_via_symbols
