	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dst_gpio_outb
_dst_gpio_outb:                         ## @dst_gpio_outb
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%esi, -64(%rbp)
	movl	%edx, -60(%rbp)
	movq	_verbose@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_DST_INFO@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %rcx
	movl	$1, %edx
	movl	%ebx, %r8d
	movl	%r12d, %r9d
	callq	_dprintk
	movl	(%r15), %edi
	movq	_DST_IG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	callq	_bt878_device_control
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.3:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.4:
	movl	$10, %edi
	callq	_msleep
LBB0_5:
	movl	%r12d, -56(%rbp)
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, -52(%rbp)
	movl	(%r15), %edi
	movq	_DST_IG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_bt878_device_control
	testl	%eax, %eax
	movq	_verbose@GOTPCREL(%rip), %rcx
	jns	LBB0_8
## %bb.6:
	movl	(%rcx), %edi
	movl	(%r13), %esi
	movl	%r14d, (%rsp)
	leaq	L_.str.2(%rip), %rcx
	movl	$1, %edx
	movl	%eax, %r8d
	movl	%r12d, %r9d
	jmp	LBB0_7
LBB0_1:
	movl	(%r14), %edi
	movl	(%r13), %esi
	movl	%r12d, (%rsp)
	leaq	L_.str.1(%rip), %rcx
	movl	$1, %edx
	movl	%eax, %r8d
	movl	%ebx, %r9d
LBB0_7:
	callq	_dprintk
	movq	_EREMOTEIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbose,4,2                    ## @verbose
	.comm	_DST_INFO,4,2                   ## @DST_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mask=[%04x], enbb=[%04x], outhigh=[%04x]"

	.comm	_DST_IG_ENABLE,4,2              ## @DST_IG_ENABLE
L_.str.1:                               ## @.str.1
	.asciz	"dst_gpio_enb error (err == %i, mask == %02x, enb == %02x)"

	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
	.comm	_DST_IG_WRITE,4,2               ## @DST_IG_WRITE
L_.str.2:                               ## @.str.2
	.asciz	"dst_gpio_outb error (err == %i, enbb == %02x, outhigh == %02x)"

	.no_dead_strip	_dst_gpio_outb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dst_gpio_outb
_dst_gpio_outb:                         ; @dst_gpio_outb
	.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	x23, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	stp	w1, w2, [sp, #8]
Lloh0:
	adrp	x24, _verbose@GOTPAGE
Lloh1:
	ldr	x24, [x24, _verbose@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x25, _DST_INFO@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DST_INFO@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	mov	w2, #1
	mov	x4, x22
	mov	x5, x19
	mov	x6, x20
	bl	_dprintk
	ldr	w0, [x21]
Lloh6:
	adrp	x8, _DST_IG_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DST_IG_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_bt878_device_control
	tbnz	w0, #31, LBB0_6
; %bb.1:
	mov	w0, #1000
	bl	_udelay
	cbz	w19, LBB0_5
; %bb.2:
	cbz	w23, LBB0_4
; %bb.3:
	mov	w0, #10
	bl	_msleep
LBB0_4:
	stp	w19, w20, [sp]
	ldr	w0, [x21]
Lloh9:
	adrp	x8, _DST_IG_WRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DST_IG_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_bt878_device_control
	tbnz	w0, #31, LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_9
LBB0_6:
	mov	x4, x0
	ldr	w0, [x24]
	ldr	w1, [x25]
Lloh12:
	adrp	x3, l_.str.1@PAGE
Lloh13:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w2, #1
	mov	x5, x22
	mov	x6, x19
	b	LBB0_8
LBB0_7:
	mov	x4, x0
	ldr	w0, [x24]
	ldr	w1, [x25]
Lloh14:
	adrp	x3, l_.str.2@PAGE
Lloh15:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	w2, #1
	mov	x5, x19
	mov	x6, x20
LBB0_8:
	bl	_dprintk
Lloh16:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_verbose,4,2                    ; @verbose
	.comm	_DST_INFO,4,2                   ; @DST_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mask=[%04x], enbb=[%04x], outhigh=[%04x]"

	.comm	_DST_IG_ENABLE,4,2              ; @DST_IG_ENABLE
l_.str.1:                               ; @.str.1
	.asciz	"dst_gpio_enb error (err == %i, mask == %02x, enb == %02x)"

	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
	.comm	_DST_IG_WRITE,4,2               ; @DST_IG_WRITE
l_.str.2:                               ; @.str.2
	.asciz	"dst_gpio_outb error (err == %i, enbb == %02x, outhigh == %02x)"

	.no_dead_strip	_dst_gpio_outb
.subsections_via_symbols
