	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ibmasm_send_driver_vpd
LCPI0_0:
	.long	4                               ## 0x4
	.long	3                               ## 0x3
	.long	5                               ## 0x5
	.long	10                              ## 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ibmasm_send_driver_vpd
	.p2align	4, 0x90
_ibmasm_send_driver_vpd:                ## @ibmasm_send_driver_vpd
	.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
	movq	%rdi, %r14
	movq	_INIT_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ibmasm_new_command
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	(%rax), %rbx
	movq	_sp_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movabsq	$68719476740, %rax              ## imm = 0x1000000004
	movq	%rax, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [4,3,5,10]
	movups	%xmm0, 128(%rbx)
	leaq	144(%rbx), %rdi
	movl	$0, 144(%rbx)
	movq	_IBMASM_DRIVER_VPD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcat
	movl	$0, 184(%rbx)
	movl	$0, 204(%rbx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ibmasm_exec_command
	movq	_IBMASM_CMD_TIMEOUT_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ibmasm_wait_for_response
	movq	8(%r15), %rax
	movq	_IBMASM_CMD_COMPLETE@GOTPCREL(%rip), %rcx
	movq	_ENODEV@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	subl	(%rdx), %ebx
	cmpq	(%rcx), %rax
	cmovel	%esi, %ebx
	movq	%r15, %rdi
	callq	_command_put
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INIT_BUFFER_SIZE,4,2           ## @INIT_BUFFER_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_sp_write,4,2                   ## @sp_write
	.comm	_IBMASM_DRIVER_VPD,4,2          ## @IBMASM_DRIVER_VPD
	.comm	_IBMASM_CMD_TIMEOUT_NORMAL,4,2  ## @IBMASM_CMD_TIMEOUT_NORMAL
	.comm	_IBMASM_CMD_COMPLETE,8,3        ## @IBMASM_CMD_COMPLETE
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ibmasm_send_driver_vpd
lCPI0_0:
	.long	4                               ; 0x4
	.long	16                              ; 0x10
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_1:
	.long	4                               ; 0x4
	.long	3                               ; 0x3
	.long	5                               ; 0x5
	.long	10                              ; 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ibmasm_send_driver_vpd
	.p2align	2
_ibmasm_send_driver_vpd:                ; @ibmasm_send_driver_vpd
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
Lloh0:
	adrp	x8, _INIT_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INIT_BUFFER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ibmasm_new_command
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x21, [x0]
Lloh3:
	adrp	x8, _sp_write@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sp_write@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x21, #24]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x21]
	stp	xzr, xzr, [x21, #8]
Lloh8:
	adrp	x8, lCPI0_1@PAGE
Lloh9:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	str	q0, [x21, #128]
	mov	x0, x21
	str	wzr, [x0, #144]!
Lloh10:
	adrp	x8, _IBMASM_DRIVER_VPD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IBMASM_DRIVER_VPD@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_strcat
	str	wzr, [x21, #184]
	str	wzr, [x21, #204]
	mov	x0, x20
	mov	x1, x19
	bl	_ibmasm_exec_command
Lloh13:
	adrp	x8, _IBMASM_CMD_TIMEOUT_NORMAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IBMASM_CMD_TIMEOUT_NORMAL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ibmasm_wait_for_response
	ldr	x8, [x19, #8]
Lloh16:
	adrp	x9, _IBMASM_CMD_COMPLETE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IBMASM_CMD_COMPLETE@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
Lloh19:
	adrp	x10, _ENODEV@GOTPAGE
Lloh20:
	ldr	x10, [x10, _ENODEV@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	cmp	x8, x9
	csneg	w20, wzr, w10, eq
	mov	x0, x19
	bl	_command_put
	b	LBB0_3
LBB0_2:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_INIT_BUFFER_SIZE,4,2           ; @INIT_BUFFER_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_sp_write,4,2                   ; @sp_write
	.comm	_IBMASM_DRIVER_VPD,4,2          ; @IBMASM_DRIVER_VPD
	.comm	_IBMASM_CMD_TIMEOUT_NORMAL,4,2  ; @IBMASM_CMD_TIMEOUT_NORMAL
	.comm	_IBMASM_CMD_COMPLETE,8,3        ; @IBMASM_CMD_COMPLETE
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
