	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%esi, -56(%rbp)
	movl	%edx, -52(%rbp)
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	callq	_dprintk
	movl	(%r15), %edi
	movq	_DST_IG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%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:
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.4:
	movl	$10, %edi
	callq	_msleep
LBB0_5:
	movl	%r12d, -48(%rbp)
	movl	%r14d, -44(%rbp)
	movl	(%r15), %edi
	movq	_DST_IG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_bt878_device_control
	testl	%eax, %eax
	jns	LBB0_8
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movl	$2, %edi
	movl	%eax, %edx
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	movl	%eax, %edx
	movl	%ebx, %ecx
	movl	%r12d, %r8d
LBB0_7:
	callq	_dprintk
	movq	_EREMOTEIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mask=[%04x], enbb=[%04x], outhigh=[%04x]\n"

	.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)\n"

	.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)\n"

	.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, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x4
	mov	x20, x3
	mov	x19, x2
	mov	x23, x1
	mov	x21, x0
	stp	w1, w2, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x23
	mov	x3, x19
	mov	x4, x20
	bl	_dprintk
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _DST_IG_ENABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DST_IG_ENABLE@GOTPAGEOFF]
Lloh4:
	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	w22, LBB0_4
; %bb.3:
	mov	w0, #10
	bl	_msleep
LBB0_4:
	stp	w19, w20, [sp]
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _DST_IG_WRITE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DST_IG_WRITE@GOTPAGEOFF]
Lloh7:
	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	x2, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	mov	x3, x23
	mov	x4, x19
	b	LBB0_8
LBB0_7:
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #2
	mov	x3, x19
	mov	x4, x20
LBB0_8:
	bl	_dprintk
Lloh12:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mask=[%04x], enbb=[%04x], outhigh=[%04x]\n"

	.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)\n"

	.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)\n"

	.no_dead_strip	_dst_gpio_outb
.subsections_via_symbols
