	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwmbt_init_ddc
_iwmbt_init_ddc:                        ## @iwmbt_init_ddc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_iwmbt_debug
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_iwmbt_fw_read
	testq	%rax, %rax
	jle	LBB0_1
## %bb.2:
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	callq	_iwmbt_load_ddc
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_iwmbt_debug
LBB0_4:
	leaq	-24(%rbp), %rdi
	callq	_iwmbt_fw_free
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_iwmbt_debug
	movl	$-1, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"loading %s"

L_.str.1:                               ## @.str.1
	.asciz	"iwmbt_fw_read() failed"

L_.str.2:                               ## @.str.2
	.asciz	"Loading DDC file failed"

	.no_dead_strip	_iwmbt_init_ddc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwmbt_init_ddc
_iwmbt_init_ddc:                        ; @iwmbt_init_ddc
	.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, x1
	mov	x19, x0
	str	x1, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_iwmbt_debug
	add	x0, sp, #8
	mov	x1, x20
	bl	_iwmbt_fw_read
	cmp	x0, #0
	b.le	LBB0_4
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	bl	_iwmbt_load_ddc
	mov	x19, x0
	tbz	w0, #31, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_iwmbt_debug
LBB0_3:
	add	x0, sp, #8
	bl	_iwmbt_fw_free
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_iwmbt_debug
	mov	w19, #-1
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"loading %s"

l_.str.1:                               ; @.str.1
	.asciz	"iwmbt_fw_read() failed"

l_.str.2:                               ; @.str.2
	.asciz	"Loading DDC file failed"

	.no_dead_strip	_iwmbt_init_ddc
.subsections_via_symbols
