	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism54_debug_set_oid
_prism54_debug_set_oid:                 ## @prism54_debug_set_oid
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	(%r15), %esi
	movl	(%rax), %edx
	movl	(%r12), %ecx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	%rbx, %rdi
	callq	_islpci_get_state
	movq	_PRV_STATE_INIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_9
## %bb.1:
	movl	(%rbx), %edx
	movl	4(%rbx), %edi
	movq	_PIMFOR_OP_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %r8d
	leaq	-40(%rbp), %r9
	movq	%r14, %rcx
	callq	_islpci_mgt_transaction
	movl	%eax, %ebx
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printk
	movq	-40(%rbp), %rdi
	testl	%ebx, %ebx
	jne	LBB0_4
## %bb.2:
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	(%rdi), %rax
	movl	(%rax), %edx
	movq	_PIMFOR_OP_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	je	LBB0_5
	jmp	LBB0_8
LBB0_4:
	testq	%rdi, %rdi
	je	LBB0_6
LBB0_5:
	callq	_islpci_mgt_release
LBB0_6:
	movl	(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	-40(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
LBB0_8:
	movl	(%r15), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	-40(%rbp), %rdi
	callq	_islpci_mgt_release
LBB0_9:
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	negl	%eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIMFOR_OP_ERROR,4,2            ## @PIMFOR_OP_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: set_oid 0x%08X\tlen: %d\n"

	.comm	_PRV_STATE_INIT,8,3             ## @PRV_STATE_INIT
	.comm	_PIMFOR_OP_SET,4,2              ## @PIMFOR_OP_SET
L_.str.1:                               ## @.str.1
	.asciz	"%s: ret: %i\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: EIO\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.3:                               ## @.str.3
	.asciz	"%s: response_op: %i\n"

	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.no_dead_strip	_prism54_debug_set_oid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism54_debug_set_oid
_prism54_debug_set_oid:                 ; @prism54_debug_set_oid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
	bl	_netdev_priv
	mov	x22, x0
	ldr	w1, [x19]
	ldr	w8, [x0]
	ldr	w9, [x21]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	mov	x0, x22
	bl	_islpci_get_state
Lloh2:
	adrp	x8, _PRV_STATE_INIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PRV_STATE_INIT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_8
; %bb.1:
Lloh5:
	adrp	x8, _PIMFOR_OP_SET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PIMFOR_OP_SET@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldp	w2, w0, [x22]
	ldr	w4, [x21]
	add	x5, sp, #24
	mov	x3, x20
	bl	_islpci_mgt_transaction
	mov	x20, x0
	ldr	w1, [x19]
	str	x20, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
	ldr	x0, [sp, #24]
	cmp	w20, #0
	ccmp	x0, #0, #4, eq
	b.ne	LBB0_3
; %bb.2:
	cbnz	x0, LBB0_4
	b	LBB0_5
LBB0_3:
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _PIMFOR_OP_ERROR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PIMFOR_OP_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
LBB0_4:
	bl	_islpci_mgt_release
LBB0_5:
	ldr	w1, [x19]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
Lloh15:
	adrp	x8, _EIO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cbnz	w8, LBB0_9
; %bb.6:
	ldr	x8, [sp, #24]
	ldr	x8, [x8]
	ldr	w8, [x8]
LBB0_7:
	ldr	w1, [x19]
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printk
	ldr	x0, [sp, #24]
	bl	_islpci_mgt_release
LBB0_8:
Lloh20:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
LBB0_9:
	neg	w0, w8
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_PIMFOR_OP_ERROR,4,2            ; @PIMFOR_OP_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: set_oid 0x%08X\tlen: %d\n"

	.comm	_PRV_STATE_INIT,8,3             ; @PRV_STATE_INIT
	.comm	_PIMFOR_OP_SET,4,2              ; @PIMFOR_OP_SET
l_.str.1:                               ; @.str.1
	.asciz	"%s: ret: %i\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: EIO\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.3:                               ; @.str.3
	.asciz	"%s: response_op: %i\n"

	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.no_dead_strip	_prism54_debug_set_oid
.subsections_via_symbols
